STEP 4: Let's move the sprite to the left side of the screen.

The stage is a coordinate plane, with (0, 0) at the center. We use coordinates to control where objects appear on the stage. In this activity, you'll change the x-coordinate to make the sprite appear close to the left side if the stage.

  • Go to and drag out Go To. Drop it at the bottom of your program.
  • Change the first number (the x-coordinate) in .go_to() to -200.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space") sprite = codesters.Sprite("spaceship") sprite.set_size(0.5)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)